package com.zjj.entity;

import java.io.Serial;
import java.io.Serializable;

public class UserDTO implements Serializable {


    @Serial
    private static final long serialVersionUID = -4086877783735536843L;
    private int id;
    private String name;
    private String roleName;

    @Override
    public String toString() {
        return "UserDTO{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", roleName='" + roleName + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }
}
